<include file="Public:head"/>
<link rel="stylesheet" href="../Public/css/list.css" type="text/css">
</head>
<body>
<div id="doc4" class="yui-t1">
<include file="Public:top"/>
  <div id="bd">
	<div id="yui-main">
        <div class="yui-b cp">
            <h1><a href="{:ru('Member/news',array('aid'=>$aid))}">{:L("_my_site_news_")}</a></h1>
            <div class="act"><a href="{:ru('Member/news_add')}">{:L("_news_add_")}</a></div>
            <form action="{:U('Member/news_chk')}" method="post">
            <input type="hidden" name="act" value="{$act}" />
            <input type="hidden" name="aid" value="{$aid}" />
            <if condition="$vo['id']">
            	<input type="hidden" name="id" value="{$vo['id']}" />
            </if>
            <table border="0" width="800" class="list">
            	<tbody>
                	<tr>
                    	<th width="200">{:L("_news_title_")}:</th>
                        <td><input type="text" name="ntitle" value="{$vo['ntitle']}" /></td>
                    </tr>
                    <tr>
                    	<th>{:L("_news_url_")}:</th>
                        <td><input type="text" name="nurl" value="{$vo['nurl']}" /></td>
                    </tr>
                    <tr>
                    	<th>{:L("_news_show_")}:</th>
                        <td>
                        <input name="nis_show" type="radio" value="1" {:selected($vo['nis_show'],1,'checked')} />{:L("_show_")}   
                        <input type="radio" name="nis_show" value="0" {:selected($vo['nis_show'],0,'checked')} />{:L("_not_show_")}
                        </td>
                    </tr>
                    <tr>
                    	<th>{:L("_news_lang_")}:</th>
                        <td>
                        	<select name="nlang">
                                <option value="zh-cn" {:selected($vo['nlang'],'zh-cn')}>zh-cn</option>
                                <option value="en-us" {:selected($vo['nlang'],'en-us')}>en-us</option>
                        	</select>
                        </td>
                    </tr>
                    <tr>
                    	<th>{:L("_news_text_")}:</th>
                        <td><textarea name="ntext">{$vo['ntext']}</textarea>
                        </td>
                    </tr>
                    <tr>
                    	<td colspan="2" align="center">
                        	<input type="submit" value="{:L('_submit_')}" />
                        </td>
                    </tr>
                </tbody>
            </table>
			</form>
        </div>
    </div>
    <div class="yui-b">
    	<include file="Member:left"/>
    </div>
  </div>
<include file="Public:foot"/>
